
#include "LifeMovement.h"
#include "../../tools/PacketReader.h"
#include "../../tools/PacketWriter.h"
#include <iostream>

LifeMovement::LifeMovement(int type, Position pos, int duration, int newstate)
{
	this->type = type;
	this->pos = pos;
	this->duration = duration;
	this->newstate = newstate;
}

int LifeMovement::getDuration()
{
	return this->duration;
}

int LifeMovement::getNewstate()
{
	return this->newstate;
}

int LifeMovement::getType()
{
	return this->type;
}

Position LifeMovement::getPosition()
{
	return this->pos;
}